from distutils.core import setup
import py2exe

import sys
import glob

#sys.stdout = open('screen.txt','w',0)
#sys.stderr = open('errors.txt','w',0)

setup(
	name = "GreenVex",
	version = "0.08.11.02.1",
	author = "Eric Muyser",
	data_files =
	[
		("", glob.glob("*.py")),
		("protocols", glob.glob("protocols\\*.py")),
		("plugins", glob.glob("plugins\\*.py"))
	],
	options =
	{
		"py2exe":
		{
			"skip_archive": True,
			"xref": True,
			"dist_dir": "GreenVex Windows"
		}
	},
	windows =
	[
		{
			"script": "GreenVex.py",
			"icon_resources": [(1, "GreenVex.ico")]
		}
	]
)
